<template>
    <header class="header">
        <!-- <router-link> -->
            <img class="h-logo" :src="enterprise.logo" alt="">
        <!-- </router-link> -->
        <!-- <span class="h-mold">{{title}}</span> -->
    </header>
</template>
<script>
import { getEnterpriseInfo } from "@/api/enterprise";
export default {
    data() {
        return {
            enterprise: {},
        }
    },
    created() {
        getEnterpriseInfo().then(resp => {
            this.enterprise = resp.enterprise
        });
    }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="scss" scoped>
.header {
  background-color: #fff;
  box-shadow: 0 0 0.2rem rgba($color: #000000, $alpha: 0.2);
  z-index: 999;
}
</style>